package com.dnr.arch.services.persistence.test;

import java.io.Serializable;
import javax.persistence.*;

import com.dnr.arch.kernel.api.model.Value;
import com.dnr.arch.kernel.model.AbstractValue;

import java.math.BigInteger;
import java.sql.Timestamp;
import java.util.List;


/**
 * The persistent class for the author database table.
 * 
 */
@Entity
@Table(name="author")
public class Author extends com.dnr.arch.kernel.model.Entity {
	private static final long serialVersionUID = 1L;



	@Id
	@Column(name="id_", unique=true, nullable=false)
	protected Long id;

	@Column(name="creationdate_", nullable=false)
	protected Timestamp creationDate;
	
	@Column(name="updateDate_", nullable=false)
	protected Timestamp updateDate;
	
	@Column(name="creatoruserid_", nullable=false)
	private BigInteger creatoruserid;

    @Lob()
	@Column(name="name_", nullable=false)
	private String name;


    public Author() {
    }

	public Long getId() {
		return this.id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public Timestamp getCreationDate() {
		return this.creationDate;
	}

	public void setCreationDate(Timestamp creationdate) {
		this.creationDate = creationdate;
	}

	public BigInteger getCreatoruserid() {
		return this.creatoruserid;
	}

	public void setCreatoruserid(BigInteger creatoruserid) {
		this.creatoruserid = creatoruserid;
	}

	public String getName() {
		return this.name;
	}

	public void setName(String name) {
		this.name = name;
	}
	
}